package tests;

import java.io.IOException;
import edu.gmu.domain.templates.FileInputStreamTemplate;

import domain.FISReader;

public class MainFISReader {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		String fileName="/Users/Maco/Desktop/pruebasSeg/fileForFIS.txt";
		String text="One two three";
		byte[] b="Hola".getBytes();
		b=FileInputStreamTemplate.duplicate(b);
		System.out.println(new String(b));
		FISReader f=new FISReader(fileName);
		try {
			String read=f.read();
			System.out.println(read.equals(text));
		} catch (IOException e) {
			System.out.println("Not expected: " + e.toString());
		}
	}

}
